Skip to content

fix(cli): package the daemon plist template so the published crate compiles - #149

Merged
conorluddy merged 1 commit into
mainfrom
fix/package-daemon-plist-template
Nov 12, 2026
Merged

conorluddy merged 1 commit into
mainfrom
fix/package-daemon-plist-template

Conversation

@conorluddy

Copy link
Copy Markdown
Owner

Why

The release-plz run on #148 (43174982235) published eight crates at 0.6.1, then failed on the last one:

error: couldn't read `src/commands/daemon/../../../templates/com.vestige.daemon.plist.tmpl`: No such file or directory
error: failed to verify package tarball

crates/vestige-cli/Cargo.toml has an explicit include list that omits templates/**, but commands/daemon/install.rs embeds that template with include_str!. The file has been missing from the tarball since the daemon landed in V0.5.

Consequence for 0.6.0: vestige 0.6.0 was published by the backfill step with --no-verify, so the crate on crates.io does not compile. cargo install vestige is broken at 0.6.0 and that version should be yanked once 0.6.1 is out. Homebrew is unaffected (it builds from the git tarball).

What

Add templates/** to the include list.

Verification

cargo package -p vestige (with verification, against the 0.6.1 dependencies now on crates.io) builds the tarball successfully locally.

On merge

No v0.6.1 tag exists, so release-plz publishes the one pending crate (vestige 0.6.1, verified), tags v0.6.1, and that triggers the binary Release and the Homebrew tap update.

…mpiles

commands/daemon/install.rs embeds templates/com.vestige.daemon.plist.tmpl
with include_str!, but the crate's include list omitted templates/**, so
the tarball failed cargo's verify build and release-plz could not publish
vestige 0.6.1.
@conorluddy
conorluddy merged commit 88db25a into main Nov 12, 2026
6 checks passed
@conorluddy
conorluddy deleted the fix/package-daemon-plist-template branch November 12, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant